a =  None;
print(a)
print(type(a))

num1 = 0x13  # 0x 十六进制  0b 二进制  0o 八进制
num2 = 0XaF
print("num1",num1,"num2",num2)

one_million = 1_000_000
print(one_million)

af1 = 5.2345556
print(af1)
af2 = 25.2345
print(type(af2))
f1 = 5.12e2
print(f1)
f2 = 5e3
print(f2)
print(type(f2))

ac1 = 3+0.2j
print(ac1)
print(type(ac1))
ac2 = 4-0.1J
print(ac2)
print(ac1+ac2)

import cmath
ac3 = cmath.sqrt(-1)
print(ac3)

str1 = "I'm a coder"
str2 = '"spring is here,let us jam",said a people.'
str3 = '"we are scared,Let\'s hide in the shade",says the bird.'
print(str1)
print(str2)
print(str1+str2)

s1 = '这本书的价格是：\
     99.8'
p = 99.8
result = s1+str(p)
print(s1)
print(repr(result))
print('从明天起，做个幸福的人 \
喂马，劈材，周游世界 \
从明天起，关心粮食和蔬菜'
)

user = 'ivy'
age = 18
print("%s is a %d years old boy" % (user,age))

string = r'Good morning' '\\'
print(string)
s = 'crazyit.org is a good site'
table = {97:945,98:946,116:964}
print(s.translate(table))

a = 5
b = 3
st = print("year") ,"a大于b"if a>b else "a小于b"
print(st)
slist = s.split();
print(slist)
print(slist[0])